public class T {

    public static void main(String[] args) throws InterruptedException {

        for (int i = 0; i < 2; i++) {
            new Thread(() -> {
                while (true) {

                }
            }).start();
        }

        Thread.sleep(Integer.MAX_VALUE);
    }
}
